﻿<%@ Page Title="" Language="C#" MasterPageFile="~/article/MasterPage.master" AutoEventWireup="true" CodeFile="sort.aspx.cs" Inherits="article_sort" %>


<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    #paged
    {
    	margin-left:auto;
    	margin-right:auto;
    	margin-bottom:0;
    	text-align:center;
    	height:20px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ArticleTitle" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<h2><%=postclass.CName %>分类的文章</h2>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ArticleContent" Runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<ul style="list-style-type:none">
    
    <asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
            <li>
               <a href="Default.aspx?pid=<%#DataBinder.Eval(Container.DataItem,"postID") %>">
                <%#DataBinder.Eval(Container.DataItem,"Title") %>
               </a>
            </li>
        </ItemTemplate>
    </asp:Repeater>
    
</ul>
<div id="paged">
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="true" NumericButtonTextFormatString="[{0}]"
     UrlPaging="true"
     ShowCustomInfoSection="Left"
     OnPageChanged="AspNetPager1_PageChanged"
     PageSize="20"
     >
    </webdiyer:AspNetPager>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="rightsidebar" Runat="Server">
<alien:HotArticleBox ID="HotArticle" runat="server" Count="20" PageUrl="Default.aspx" />
<alien:NewArticleBox ID="NewArticle" runat="server" Count="20" PageUrl="Default.aspx" />
</asp:Content>

